package top.yuhaitao.cloud;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.zuul.EnableZuulProxy;

@SpringBootApplication
@EnableZuulProxy
public class GetWayZuulApplication {

	// 原访问 http://localhost:8080/getUserById?id=1
	// 代理之后访问 http://localhost:8888/springboot-cloud-provider-user/getUserById?id=1 

	public static void main(String[] args) {
		SpringApplication.run(GetWayZuulApplication.class, args);
	}
}
